package com.neusoft.neu24.nep.client;


import com.neusoft.neu24.nep.entity.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

//  远程服务的名称 ，用于服务发现
@FeignClient("feign-loadbalance-provider") //  远程服务的名称
public interface RPCSysnodeServiceOpenFeignClient {
    //    URL路径
    @RequestMapping("/sn/get/byroleid/{roleid}")
    CommonResult selectSysnodesByRoleid(@PathVariable("roleid") Integer roleid);
}
